package com.qf.stock;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
//@EnableEurekaClient          注册Eureka时使用
//@EnableDiscoveryClient       Eureka，Zookeeper，Nacos，Redis，Console ……
@EnableDiscoveryClient
@MapperScan(basePackages = "com.qf.stock.mapper")
public class StockApp {

    public static void main(String[] args) {
        SpringApplication.run(StockApp.class,args);
    }
}
